package com.abc.service;

import com.abc.bean.Stock;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2021-07-23
 */
public interface StockService extends IService<Stock> {

    //新增库存
    boolean addStock(Stock stock);
    //根据名称查询库存
    Stock getStockByName(String name);
}
